/* reset */
* {
  margin: 0;
  padding: 0;
  border: none;
}
body {
  height: 100vh;
  font-size: 16px;
  background-color: #f2f5f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* body */
.card {
  position: relative;
  width: 40rem;
  height: auto;
  padding: 4rem 6rem 6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 8px 18px 6px rgba(61, 159, 255, 0.1);
}
.card p {
  font-family: nromans;
  text-align: center;
}
.card p.title {
  font-family: microsoft Yahei;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.card p.content {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}
.card .form-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
.card .form-panel .item-group {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.card .form-panel .item-group.flex-left {
  justify-content: flex-start;
}
.card .form-panel .item-group input[type="text"] {
  width: 63%;
  height: 4rem;
  font-size: 0.9rem;
  padding: 0 2rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.card .form-panel .item-group input[type="text"]::placeholder {
  color: #999;
}
.card .form-panel .item-group input[type="text"]:focus {
  border-color: #3d9fff;
  outline: none;
  box-shadow: inset 2px 2px 6px 2px rgba(61, 159, 255, 0.1);
}
.card .form-panel .item-group button[type="submit"] {
  width: 33%;
  height: 4rem;
  background-color: #3d9fff;
  border-radius: 5px;
  color: white;
  font-size: 0.9rem;
  position: relative;
  padding-right: 3rem;
  box-shadow: 0 12px 10px -8px rgba(61, 159, 255, 1);
  cursor: pointer;
  transform: all 0.2s ease;
}
.card .form-panel .item-group button[type="submit"]::after {
  content: "";
  position: absolute;
  right: 4rem;
  top: 50%;
  width: 2rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg t='1728960520740' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' p-id='3377'%3E%3Cpath d='M904.533333 522.666667c2.133333-4.266667 2.133333-6.4 2.133334-10.666667s0-8.533333-2.133334-10.666667c-2.133333-4.266667-4.266667-6.4-6.4-8.533333l-341.333333-362.666667c-12.8-12.8-32-12.8-44.8-2.133333-12.8 12.8-12.8 32-2.133333 44.8l290.133333 309.333333H149.333333c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h650.666667L509.866667 853.333333c-12.8 12.8-10.666667 34.133333 2.133333 44.8 6.4 6.4 14.933333 8.533333 21.333333 8.533334 8.533333 0 17.066667-4.266667 23.466667-10.666667l341.333333-362.666667c2.133333-2.133333 4.266667-6.4 6.4-10.666666z' fill='white' p-id='3378'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%); /* 垂直居中 */
}
.card .form-panel .item-group button[type="submit"]:active {
  top: 4px;
  box-shadow: 0 8px 10px -8px rgba(61, 159, 255, 1);
}
.card .form-panel .item-group .checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}
.card .form-panel .item-group .checkbox {
  height: 1.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.card .form-panel .item-group .checkbox .custom-checkbox {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  position: relative;
  transform: all 0.3s ease;
}
.card
  .form-panel
  .item-group
  .checkbox
  input[type="checkbox"]:checked
  + .custom-checkbox {
  background-color: #3d9fff;
  border-color: #3d9fff;
}
.card .form-panel .item-group .checkbox .custom-checkbox::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
  transition: all 0.2s ease;
}
.card
  .form-panel
  .item-group
  .checkbox
  input[type="checkbox"]:checked
  + .custom-checkbox::after {
  opacity: 1;
}
.card .form-panel .item-group .warming {
  margin-left: 1rem;
  width: 46%;
  height: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.5rem;
}
